local ClientOHOH = _G.ClientOHOH;
local M = ClientOHOH.class.new(script, ClientOHOH.files.OHOHOLYBUIBase());

-- local instStr={

--     evolutionColor={
--         [1]="ctrl.evolutionColor.normal",
--         [2]="ctrl.evolutionColor.gold",
--         [3]="ctrl.evolutionColor.void",
--     },

--     TitleColor={
--         [1]="ctrl.TitleColor.Common",
--         [2]="ctrl.TitleColor.Rare",
--         [3]="ctrl.TitleColor.Epic",
--         [4]="ctrl.TitleColor.Legendary",
--         [5]="ctrl.TitleColor.Mythic",
--         [6]="ctrl.TitleColor.Omega",
--     }
-- }

function InitInsts(ui)
	ui.insts = {
        evolutionColor={
            [1]="ctrl.evolutionColor.normal",
            [2]="ctrl.evolutionColor.gold",
            [3]="ctrl.evolutionColor.void",
        },
    
        TitleColor={
            [1]="ctrl.TitleColor.Common",
            [2]="ctrl.TitleColor.Rare",
            [3]="ctrl.TitleColor.Epic",
            [4]="ctrl.TitleColor.Legendary",
            [5]="ctrl.TitleColor.Mythic",
            [6]="ctrl.TitleColor.Omega",
        }
    };

    
end;

function M.new(...)
	return M(...);
end;

function M.ctor(self)
    InitInsts(self)
    M.super.ctor(self, ClientOHOH:GetPath_Loop("ReplicatedStorage.Resource.UI.PetColor"));
end;
function M.dtor(self)
	M.super.dtor(self);
end;

function M.GetEvolutionColor3(self,eid)
    return  self.insts.evolutionColor[eid]
end

function M.GetTitleColor3(self,tid)
    return  self.insts.TitleColor[tid]
end

return M